modulesdir = @prefix@/modules

modules_LTLIBRARIES = libbusconsole.la libdirmonitor.la libsslbus.la liblocks.la

libbusconsole_la_SOURCES = busconsole.c ../terminals.h
libbusconsole_la_LDFLAGS = -lpthread
libbusconsole_la_LIBADD = ../libcasperbase.la

libdirmonitor_la_SOURCES = dir_monitor.c ../terminals.h
libdirmonitor_la_LDFLAGS = -lpthread
libdirmonitor_la_LIBADD = ../libcasperbase.la

libsslbus_la_SOURCES = sslbus.c ../terminals.h
libsslbus_la_LDFLAGS = -lpthread -lcrypto -lssl
libsslbus_la_LIBADD = ../libcasperbase.la

liblocks_la_SOURCES = locks.c ../terminals.h
liblocks_la_LDFLAGS = -lpthread
liblocks_la_LIBADD = ../libcasperbase.la

bin_PROGRAMS = busconsole_client casper-lock casper-ssl

casper_ssl_SOURCES = ssl_client.c ../terminals.h
casper_ssl_LDADD = ../libcasperbase.la
casper_ssl_LDFLAGS = -lssl -lcrypto

busconsole_client_SOURCES = busconsole_client.c ../terminals.h
busconsole_client_LDADD = ../libcasperbase.la

casper_lock_SOURCES = casper-lock.c ../terminals.h
casper_lock_LDADD = ../libcasperbase.la
